package com.it;

import com.it.pojo.params.order.OrderInfoQuery;
import com.it.pojo.params.order.OrderQuery;

import java.util.Map;

public interface OrderService {


    Map<String,String> saveOrder(OrderQuery orderQuery);

    int updateOrderStatus(Long orderId);

    /**
     * 查询订单状态
     * @param orderId
     * @return
     */
    int getOrderStatus(Long orderId);

    Map<String, Object> listOrder(OrderInfoQuery orderInfoQuery);

}
